<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>出错啦!!!</title>
<script type="text/javascript">
	function getQueryString(queryName) {
	    var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i");
	    var r = window.location.search.substr(1).match(reg);
	    if ( r != null ){
	       return decodeURI(r[2]);
	    }else{
	       return null;
	    }
	}
	
	function showErrorTip(){
		var errorTip = getQueryString('errormsg');
		if(errorTip != null){
			document.getElementById('errorTip').innerText = errorTip;	
		}
	}
</script>
</head>
<body onload="showErrorTip()">
<h1 style="color: red;" id='errorTip'></h1>
</body >
</html>